Keycloak REST Services 1.5.0-Final

Path: / admin / realms / {realm} / clients / {id} / protocol-mappers / models / {id}

Path parameters:
realm - realm name (not id!)
id - id of client (not client-id)
id -

Resource Methods
Method Summary
NameDescription
GET /admin/realms/{realm}/clients/{id}/protocol-mappers/models/{id} 
PUT /admin/realms/{realm}/clients/{id}/protocol-mappers/models/{id} 
DELETE /admin/realms/{realm}/clients/{id}/protocol-mappers/models/{id} 

Method Detail

GET /admin/realms/{realm}/clients/{id}/protocol-mappers/models/{id}

HTTP Example:
GET /admin/realms/{realm}/clients/{id}/protocol-mappers/models/{id}
API Example:

ProtocolMappersResource.getMapperById({'realm': /* name realm name (not id!) */,
  'id': /* id id of client (not client-id) */,
  'id': …});

Output:
ProtocolMapperRepresentation
Produces:
application/json

PUT /admin/realms/{realm}/clients/{id}/protocol-mappers/models/{id}

HTTP Example:
PUT /admin/realms/{realm}/clients/{id}/protocol-mappers/models/{id}
API Example:

ProtocolMappersResource.update({'realm': /* name realm name (not id!) */,
  'id': /* id id of client (not client-id) */,
  'id': …,
  '$entity': …});

Input:
ProtocolMapperRepresentation
Output:
void
Consumes:
application/json

DELETE /admin/realms/{realm}/clients/{id}/protocol-mappers/models/{id}

HTTP Example:
DELETE /admin/realms/{realm}/clients/{id}/protocol-mappers/models/{id}
API Example:

ProtocolMappersResource.delete({'realm': /* name realm name (not id!) */,
  'id': /* id id of client (not client-id) */,
  'id': …});

Output:
void

Keycloak REST Services 1.5.0-Final